

#include <stdlib.h>
#include <math.h>

#include "sincos.h"

#define PI_ 3.14159265359

int Sin[SINSIZE];
int Cos[SINSIZE];

void
MakeSinCos(int AmplitudeX,int AmplitudeY)
{
  int i;

  for(i=0;i<SINSIZE;i++)
    {
      Cos[i]=(int)(AmplitudeX*cos(PI_*i/(SINSIZE/2.0)));
      Sin[i]=(int)(AmplitudeY*sin(PI_*i/(SINSIZE/2.0)));
    }
}

